package com.brk.socket.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.brk.socket.entity.LocationDO;
import com.brk.socket.entity.User;
import com.brk.socket.entity.UserDTO;
import com.brk.socket.exception.MyException;

/**
 * @author brk
 * @date 2023/7/13 19:06
 * @description
 */
public interface UserService extends IService<LocationDO> {

    void importLocations(String polyX, String polyY);

    void deleteLocation();

    LocationDO getRecordLocation();

    int register(User user);

    String sendEmail(String email) throws Exception;

    UserDTO login(String username, String password);

    int changPassword(User user);


}
